{% extends "./layout.html" %}

{% block title %}{% parent %} &raquo; Older Versions of Swig{% endblock %}

{% block content %}
<h1>Looking For Old Versions Or Documentation?</h1>
<p>Become self-sufficient! All of Swig is open source and available on GitHub at <a href="https://github.com/paularmstrong/swig/">paularmstrong/swig</a>. Just clone the repo, check out the tag of your desired version, and build, review, and change to your liking!</p>

<h2>Clone the Repo</h2>
<pre><code data-language="sh">$ git clone git@github.com:paularmstrong/swig.git
$ cd swig
</code></pre>

<h2>List Versions</h2>
<p>Every Swig version that has been published has a corresponding Git tag.</p>
<pre><code data-language="sh">$ git tag --list</code></pre>

<h2>Check Out Your Desired Version And Pull All Dependencies</h2>
<pre><code data-language="sh">$ git checkout v0.14.0
$ make</code></pre>

<h2>Review The Targets In Makefile To See How To Build Documentation Or Packages</h2>
<p>The target available sometimes change from version to version, so it's a good idea to review what's available.</p>
<pre><code data-language="sh">$ make -pn | perl -F: -ane 'print "$F[0]\n" if /^\w+\s*:/' | sort</code></pre>
{% endblock %}
